/**
 * 查询列表
 */
export const useLoadChuanYuanKuBiaoApi = (body)=>{
    return useHttpPost("/chuanyuanku/listbiao",{body})
}

/**
 * 查询列表--发布
 */
export const useLoadChuanYuanKuApi = (body)=>{
    return useHttpPost("/chuanyuanku/list",{body})
}

/**
 * 查询列表--未发布-用于审核
 */
export const useLoadUnChuanYuanKuApi = (body)=>{
    return useHttpPost("/chuanyuanku/unlist",{body})
}

/**
 * 查询列表--未发布-用于船员分组
 */
export const useLoadUnChuanYuanKuGroupApi = (body)=>{
    return useHttpPost("/chuanyuanku/grouplist",{body})
}

/**
 * 保存修改
 */
export const useSaveUpdateChuanYuanKuApi = (body)=>{
    return useHttpPost("/chuanyuanku/saveupdate",{body})
}

/**
 * 保存修改--用于web录入
 */
export const useSaveUpdateChuanYuanKuApi2 = (body)=>{
    return useHttpPost("/chuanyuanku/saveupdate2",{body})
}

/**
 * 根据ID查询明细
 */
export const useGetChuanYuanKuApi = (id)=>{
    return useHttpPost("/chuanyuanku/get/"+id,{})
}

/**
 * 根据OpenID查询明细
 */
export const useGetChuanYuanKuByOpenidApi = (id,systemId)=>{
    return useHttpGet("/chuanyuanku/getopenid?id="+id+"&systemId="+systemId,{})
}

/**
 * 删除
 */
export const useDelChuanYuanKuApi = (id)=>{
    return useHttpPost("/chuanyuanku/del/"+id,{})
}

/**
 * 修改状态
 */
export const useUpdateStatusChuanYuanKuApi = (body)=>{
    body.field = C2B(body.field)
    return useHttpPost("/chuanyuanku/update/status",{body})
}

/**
 * 导入船员--xls
 */
export const useImportChuanYuanKuApi = (body)=>{
    return useHttpPost("/chuanyuanku/chuanYuanDaoRu",{body})
}
